# encoding=utf-8
from django.conf.urls.defaults import *
from django.conf import settings

from house import views

urlpatterns=patterns('',
    url(r'^house/detail/(?P<id>\d+)/$', views.detail,{'template_name':'detail.html'}),
    url(r'^house/', views.index,{'template_name':'house.html'}),
    url(r'^contact/', views.index,{'template_name':'contact.html'}),
    url(r'^rent/', views.index,{'template_name':'rent.html'}),
    url(r'^map/', views.index,{'template_name':'map.html'}),
    url(r'^comments/', include('django.contrib.comments.urls')),
    url(r'', views.index,{'template_name':'home.html'}),
)